/**
 * 
 */
package com.ap.generator.consumer.retrievedetails;

import static com.ap.datagen.core.GeneratorHelper.buildA;
import static com.ap.datagen.core.Nullable.nullable;

import com.ap.core.cxf.jaxb.manageconsumer.AbstractRequestRetrieveConsumerDetailsTypeGeneratorBuilder;
import com.ap.core.cxf.jaxb.msghdr.MessageType;
import com.ap.generator.messageheader.MsgHdrTypeGeneratorBuilder;

/**
 * The Class RequestRetrieveConsumerDetailsTypeGeneratorBuilder.
 *
 * @author Siva.Pochana
 */
public class RequestRetrieveConsumerDetailsTypeGeneratorBuilder extends
		AbstractRequestRetrieveConsumerDetailsTypeGeneratorBuilder {

	/* (non-Javadoc)
	 * @see com.ap.core.cxf.jaxb.manageconsumer.AbstractRequestRetrieveConsumerDetailsTypeGeneratorBuilder#setupDefaults()
	 */
	@Override
	public void setupDefaults() {
		this.msgHdrGenerator = nullable(buildA(MsgHdrTypeGeneratorBuilder.msgHdrTypeGenerator().withMsgType(MessageType.REQCONSREGSTATUS)));
		this.consRegRequestInfoGenerator = nullable(buildA(ConsRegRequestInfoTypeGeneratorBuilder.getConsRegRequestInfoTypeGenerator()));
	}

	/**
	 * Gets the request retrieve consumer details type generator.
	 *
	 * @return the request retrieve consumer details type generator
	 */
	public static RequestRetrieveConsumerDetailsTypeGeneratorBuilder getRequestRetrieveConsumerDetailsTypeGenerator() {
		return new RequestRetrieveConsumerDetailsTypeGeneratorBuilder();
	}
}
